<!--
* @作者: 魔情公子
* @时间: 2023/9/20 12:30
-->
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>发布文章</title>
		<link href="../../assets/fonts/mqgz-icon.png" rel="shortcut icon" type="image/x-icon">
		<link href="../../assets/fonts/style.css" rel="stylesheet">
		<link href="../../lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
		<link href="../../assets/normalize/normalize.css" rel="stylesheet">
		<link href="../../lib/wangEditor/css/wangeditor.css" rel="stylesheet">
		<link href="index.css" rel="stylesheet">
	</head>
	<body>
		<div class="alert publish-alert"></div>
		<!--发布文章-->
		<div class="manageBox">
			<!--导航栏-->
			<div class="directory">
				<h1>魔情公子头条</h1>
				<div class="directory-same">
					<a href="../content/index.html">
						<i class="icon-document-text3"></i>
						<i>内容管理</i>
					</a>
				</div>
				<div class="directory-same">
					<a href="JavaScript:" class="current">
						<i class="icon-navigation"></i>
						<i class="edit-article">发布文章</i>
					</a>
				</div>
			</div>
			<!--详情盒子-->
			<div class="contentBox">
				<!--内容管理-详细内容-->
				<div class="mask">
					<div class="content">
						<div class="content-header">
							<!--账号-->
							<a class="account" href="javascript:">昵称</a>
							<!--退出系统-->
							<a class="quit" href="javascript:" >退出</a>
						</div>
						<div class="content-publish">
							<form action="" class="publish-form">
								<input hidden name="id" type="text" class="edit-input">
								<!--发布文章管理标题-->
								<div class="content-manage-title"><h5>发布文章</h5></div>
								<!--文章标题-->
								<div class="content-manage-publish-title">
									<span>标题:</span>
									<span class="publish-input"><input name="title" placeholder="请输入文章标题"
																	   type="text"></span>
								</div>
								<!--发布文章频道-->
								<div class="content-manage-publish-channel">
									<span>频道:</span>
									<span>
								<select class="channel" name="channel_id">
									<option value="">请选择文章频道</option>
								</select>
							</span>
								</div>
								<!--发布文章封面-->
								<div class="content-manage-cover">
									<span>封面:</span>
									<span>
									<label for="cover1" title="选择一张图片作为您的文章封面吧！">
										<i class="icon-addthis"></i>
										<img alt="" class="upload-img" src="">
										<input class="upload" hidden id="cover1" name="cover" type="file">
									</label>
								</span>
								</div>
								<!--发布文章内容-->
								<div class="content-manage-publish-content">
									<div class="title">内容:</div>
									<!--引入wangeditor文本编辑器插件-->
									<div id="editor—wrapper">
										<!-- 工具栏 -->
										<div id="toolbar-container"></div>
										<!-- 编辑器 -->
										<div id="editor-container"></div>
									</div>
									<textarea class="publish-content" hidden name="content"></textarea>
								</div>
								<!--发布按钮-->
								<div class="content-manage-publish-button">
									<button class="publish-button btn btn-primary btn-lg" type="button">发布</button>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>

		<script src="../../lib/bootstrap/js/bootstrap.js"></script>
		<script src="../../lib/wangEditor/js/wangeditor.js"></script>
		<script src="../../utils/wangEditor_config.js"></script>
		<script src="../../lib/ajax/axios.js"></script>
		<script src="../../lib/form-serialize/form-serialize.js"></script>
		<script src="../../utils/alert.js"></script>
		<script src="../../utils/request.js"></script>
		<script src="../../utils/auth.js"></script>
		<script src="index.js"></script>
	</body>
</html>